package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.bo.Uqcm5SelfCheckBO;
import com.epichust.bootuqc.model.dao.Uqcm5SelfCheckDao;
import com.epichust.bootuqc.model.entity.Uqcm5SelfCheck;
import com.epichust.bootuqc.service.IUqcm5SelfCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/1/19 13:11
 */
@Service
@Transactional
public class Uqcm5SelfCheckServiceImpl implements IUqcm5SelfCheckService {
    @Autowired
    private Uqcm5SelfCheckDao uqcm5selfcheckdao;

    @Override
    public List<Uqcm5SelfCheckBO> getAllUqcm5SelfCheck(Map<String, String> map) {
        List<Uqcm5SelfCheckBO> list =uqcm5selfcheckdao.getAllUqcm5SelfCheck(map);
        return list;
    }

    @Override
    public int insertUqcm5SelfCheck(Uqcm5SelfCheckBO uqcm5SelfCheck) {
        return uqcm5selfcheckdao.insertUqcm5SelfCheck(uqcm5SelfCheck);
    }
}
